﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Concurrent;
using YLServerInterface.YLAdminService;

namespace YLServerInterface.GlobalClass
{
    class DataContainer
    {
        static DataContainer()
        {
            Dict = new ConcurrentDictionary<string, object>();
            WorkItems = new ConcurrentDictionary<Guid, IEnumerable<WorkItem>>();
            Users = new ConcurrentBag<User>();
        }
        public static ConcurrentDictionary<string, object> Dict { get; private set; }

        public static Guid Guid { get; set; }

        public static ConcurrentBag<User> Users { get; private set; }

        public static ConcurrentDictionary<Guid, IEnumerable<WorkItem>> WorkItems { get; private set; }
    }
}
